Correct annotations for gtk_cell_layout_get_area
authorErika <rrika9@yahoo.com>
Sun, 6 Dec 2015 14:31:00 +0000 (14:31 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 7 Dec 2015 11:16:59 +0000 (06:16 -0500)
The function can return NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=759081

gtk/gtkcelllayout.c

index 1f5253f32e804ca7276bd5f579523d6209f3349e..241f467c28584f91e04cd08385c3c191f147e4e8 100644 (file)
@@ -600,7 +600,8 @@ gtk_cell_layout_get_cells (GtkCellLayout *cell_layout)
  * if called on a #GtkCellArea or might be %NULL if no #GtkCellArea
  * is used by @cell_layout.
  *
- * Returns: (transfer none): the cell area used by @cell_layout.
+ * Returns: (transfer none) (nullable): the cell area used by @cell_layout,
+ * or %NULL in case no cell area is used.
  *
  * Since: 3.0
  */